#pragma once
#ifndef __COMMON_H__
#define __COMMON_H__

#define BLOCK_NUM_TO_ALLOC 20

double getCpuClock(void);

int init_cuda(int width, int height,unsigned char * data, unsigned char ** dev_buffOut, int * blockNum, int *pitch);

void deinit_cuda(unsigned char * dev_buffOut, int * blockNum, int *pitch);

#endif